package cn.tp.ksoft.civil_driver.view.widget;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.EditText;

import cn.tp.ksoft.civil_driver.view.simple.AllCapTransformationMethod;

/**
 * Created by zhusong on 16/4/21.
 */
public class AllCapEditText extends EditText {
    public AllCapEditText(Context context) {
        super(context);
        init();
    }

    public AllCapEditText(Context context, AttributeSet attrs) {
        super(context, attrs);
        init();
    }

    public AllCapEditText(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        init();
    }

    private void init(){
        setTransformationMethod(new AllCapTransformationMethod());
    }


}
